// applyMiddleware()用来注册redux插件
import {createStore,applyMiddleware} from 'redux';
import reducers from './reducers';

// 导入redux-thunk实现异步action
import thunk from 'redux-thunk';

// 导入redux调试工具
import {composeWithDevTools} from 'redux-devtools-extension';
export const store=createStore(reducers,composeWithDevTools(applyMiddleware(thunk)));


